home *** CD-ROM | disk | FTP | other *** search
/ De Grote Bosatlas 2006 - 2007 / De Grote Bosatlas 2006-2007.bin / data1.cab / Java_lib / security / java.security < prev   
Text File  |  2005-11-21  |  5KB  |  121 lines

  1. #
  2. # This is the "master security properties file".
  3. #
  4. # In this file, various security properties are set for use by
  5. # java.security classes. This is where users can statically register 
  6. # Cryptography Package Providers ("providers" for short). The term 
  7. # "provider" refers to a package or set of packages that supply a 
  8. # concrete implementation of a subset of the cryptography aspects of 
  9. # the Java Security API. A provider may, for example, implement one or 
  10. # more digital signature algorithms or message digest algorithms.
  11. #
  12. # Each provider must implement a subclass of the Provider class.
  13. # To register a provider in this master security properties file, 
  14. # specify the Provider subclass name and priority in the format
  15. #
  16. #    security.provider.<n>=<className> 
  17. #
  18. # This declares a provider, and specifies its preference 
  19. # order n. The preference order is the order in which providers are 
  20. # searched for requested algorithms (when no specific provider is 
  21. # requested). The order is 1-based; 1 is the most preferred, followed 
  22. # by 2, and so on.
  23. #
  24. # <className> must specify the subclass of the Provider class whose 
  25. # constructor sets the values of various properties that are required
  26. # for the Java Security API to look up the algorithms or other 
  27. # facilities implemented by the provider.
  28. # There must be at least one provider specification in java.security. 
  29. # There is a default provider that comes standard with the JDK. It
  30. # is called the "SUN" provider, and its Provider subclass
  31. # named Sun appears in the sun.security.provider package. Thus, the
  32. # "SUN" provider is registered via the following:
  33. #
  34. #    security.provider.1=sun.security.provider.Sun 
  35. #
  36. # (The number 1 is used for the default provider.) 
  37. #
  38. # Note: Statically registered Provider subclasses are instantiated 
  39. # when the system is initialized. Providers can be dynamically 
  40. # registered instead by calls to either the addProvider or 
  41. # insertProviderAt method in the Security class.
  42.  
  43. #
  44. # List of providers and their preference orders (see above):
  45. #
  46. security.provider.1=sun.security.provider.Sun
  47. security.provider.2=com.sun.rsajca.Provider
  48.  
  49. #
  50. # Select the source of seed data for SecureRandom. By default an
  51. # attempt is made to use the entropy gathering device specified by
  52. # the securerandom.source property. If an exception occurs when
  53. # accessing the URL then the traditional system/thread activity
  54. # algorithm is used.
  55. # On Windows systems, the URL file:/dev/random enables use of the
  56. # Microsoft CryptoAPI seed functionality.
  57. #
  58. securerandom.source=file:/dev/random
  59. #
  60. # The entropy gathering device is described as a URL and can
  61. # also be specified with the property "java.security.egd". For example,
  62. #   -Djava.security.egd=file:/dev/urandom
  63. # Specifying this property will override the securerandom.source setting.
  64.  
  65. #
  66. # Class to instantiate as the system Policy. This is the name of the class
  67. # that will be used as the Policy object.
  68. #
  69. policy.provider=sun.security.provider.PolicyFile
  70.  
  71. # The default is to have a single system-wide policy file, 
  72. # and a policy file in the user's home directory.
  73. policy.url.1=file:${java.home}/lib/security/java.policy
  74. policy.url.2=file:${user.home}/.java.policy
  75.  
  76. # whether or not we expand properties in the policy file
  77. # if this is set to false, properties (${...}) will not be expanded in policy
  78. # files.
  79. policy.expandProperties=true
  80.  
  81. # whether or not we allow an extra policy to be passed on the command line
  82. # with -Djava.security.policy=somefile. Comment out this line to disable
  83. # this feature.
  84. policy.allowSystemProperty=true
  85.  
  86. # whether or not we look into the IdentityScope for trusted Identities
  87. # when encountering a 1.1 signed JAR file. If the identity is found
  88. # and is trusted, we grant it AllPermission.
  89. policy.ignoreIdentityScope=false
  90.  
  91. #
  92. # Default keystore type.
  93. #
  94. keystore.type=jks
  95.  
  96. #
  97. # Class to instantiate as the system scope:
  98. #
  99. system.scope=sun.security.provider.IdentityDatabase
  100.  
  101. #
  102. # List of comma-separated packages that start with or equal this string
  103. # will cause a security exception to be thrown when
  104. # passed to checkPackageAccess unless the
  105. # corresponding RuntimePermission ("accessClassInPackage."+package) has
  106. # been granted.
  107. package.access=sun.
  108.  
  109. #
  110. # List of comma-separated packages that start with or equal this string
  111. # will cause a security exception to be thrown when
  112. # passed to checkPackageDefinition unless the
  113. # corresponding RuntimePermission ("defineClassInPackage."+package) has
  114. # been granted.
  115. # by default, no packages are restricted for definition, and none of
  116. # the class loaders supplied with the JDK call checkPackageDefinition.
  117. #
  118. #package.definition=
  119.